/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package formula.one.urjc.rank;
import  formula.one.urjc.piloto.Piloto;
import java.io.Serializable;
/**
 *
 * @author m3n0r
 */
public class Rank implements Serializable {
        
    //ATRIBUTOS
    private double tiempo;
    private Piloto piloto;
    
    //CONSTRUCTOR
    public Rank(double t , Piloto p){
        tiempo = t;
        piloto = p;
    }
    public Piloto getPiloto() {
        return piloto;
    }

    public double getTiempo() {
        return tiempo;
    }

}
